#ifndef _THEME_H_
#define _THEME_H_

#define TITLE

/* xterm-256color */
#define XTT(color, str)     "\\[\033[1;38;5;" #color "m\\]" str "\\[\033[0m\\]"
#define xtt(color, str)     "\\[\033[38;5;" #color "m\\]" str "\\[\033[0m\\]"

#define DOT1 "·"
#define DOT2 "•"
#define EOS "\0"


#define STATUS(s) \
    ((s) == NULL) ? "\0" : \
    (*(s) == '0' ? XTT(240, " ") : XTT(203, DOT2))

//? XTT(184,"%s") XTT(184,"@") XTT(184,"%s ") XTT(105,"%s ") XTT(208,"%s") XTT(208,"%s") XTT(248,"-> ")


#define THEME_UBUNTU(UID)   (UID) \
    ? "%s" XTT(112,"%s") XTT(112,"@") XTT(112,"%s ") XTT(105,"%s ") XTT(172,"%s") XTT(142,"%s") \
    : "%s" XTT(112,"%s") XTT(112,"@") XTT(112,"%s ") XTT(105,"%s ") XTT(172,"%s") XTT(142,"%s")

#define THEME_BREEZE(UID)   (UID) \
    ? "%s" XTT(35,"%s") XTT(35,"@") XTT(35,"%s ") XTT(32,"%s ") XTT(172,"%s") XTT(142,"%s") \
    : "%s" XTT(112,"%s") XTT(112,"@") XTT(112,"%s ") XTT(105,"%s ") XTT(172,"%s") XTT(142,"%s")

#define THEME_DEFAULT(UID)  (UID) \
    ? XTT(112,"%s") XTT(112,"@") XTT(112,"%s ") XTT(105,"%s ") XTT(172,"%s") XTT(142,"%s") XTT(248,"-> ") \
    : xtt(203,"%s") XTT(248,"-") xtt(203,"%s ") xtt(105,"%s ") xtt(208,"%s") xtt(208,"%s") xtt(248,"-> ")

#ifndef THEME
#define THEME   THEME_BREEZE
#endif

#endif
